package com.atguigu.gulimall.product.service;

import com.atguigu.gulimall.product.entity.BrandEntity;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.common.utils.PageUtils;
import com.atguigu.gulimall.product.entity.CategoryBrandRelationEntity;

import java.util.List;
import java.util.Map;

/**
 * 品牌分类关联
 *
 * @author HX
 * @email 1624242879@qq.com
 * @date 2021-01-17 20:55:42
 */
public interface CategoryBrandRelationService extends IService<CategoryBrandRelationEntity> {

    PageUtils queryPage(Map<String, Object> params);

    //新增品牌关联的所有分类列表(category-brand)
    void saveDetail(CategoryBrandRelationEntity categoryBrandRelation);

    //获取分类关联的品牌
    List<BrandEntity> getBrandsList(Long catId);
}

